// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FaultedEventArgs.cs" company="">
//   
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace ExecutionTool.Common
{
    using System;

    public class FaultedEventArgs : EventArgs
    {
        #region Constructors and Destructors

        public FaultedEventArgs(Exception exception, FaultedLocation fa, int errorCode)
        {
            this.Exception = exception;
            this.FaultedLocation = fa;
            this.ErrorCode = errorCode;
        }

        #endregion

        #region Public Properties

        public int ErrorCode { get; private set; }

        public Exception Exception { get; private set; }

        public FaultedLocation FaultedLocation { get; private set; }

        #endregion
    }
}
